package com.example.qinghe.dao.communication;

import com.example.qinghe.entity.Common;
import com.example.qinghe.entity.communication.Staff;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * AdminMapper接口
 * 
 * @author ruoyi
 * @date 2023-07-29
 */
@Service
public interface StaffMapper
{

    Common sel(@Param("id")Long id);

    List<Common>  selbyname(@Param("ward")String ward);

    List<Common> list(Common common);
    List<Common> list2(Common common);
    Staff login(Common common);


    List<Staff> selAll();
    int addStaff(Staff staff);
}
